<?php
// +----------------------------------------------------------------------
// | 微信设置
// +----------------------------------------------------------------------

//使用
//Config("wechat.web")
//Config("wechat.app")
//dump(base_path());
return [
	//支付配置
	"pay" => array(
		//"mch_id"=>"1604837524",//商户号
		//支付结果回调通知地址
		//"notify_url"=>"http://zj.demo.yichao58.com/index.php/wx/payNotify",
		//退款成功回调通知地址
		//"refund_url"=>"http://zj.demo.yichao58.com/index.php/wx/payNotify",
		// 支付密钥
		//"key"=>"BJIIuO9E0HVXynpjB9xHLiqt2KPVEsH1",
		////交易类型 JSAPI | NATIVE | APP | WAP | MWEB
		//'trade_type'=>'MWEB',
		//证书目录
		"cacert"=>base_path().'/cacert/',
	),
   // +----------------------------------------------------------------------
    // | 微信公众号配置
    // +----------------------------------------------------------------------
	'web'=>array(
	 	'appid' => 'wx6d821d662c6eeda5',  
      	'appsecret' => '022b17292a23be9e113b6060dd9def73', 
		//'token'=>'weifashi', //填写你设定的key
		//'encodingaeskey'=>'1M1WyHeQoHSzxej4oiKYSwQ0BI09v1UZP2ouE1XwXyu', 
        //'success_uri' => '/ds/#/', //微信公众号登录成功后跳转地址
        'button' => array(),
		//关注公众号后，推送的图文消息
		'news' =>  array(
			"0" => [											
			   	'Title'=>"定制化服务，每日优鲜水果按时配送   亲记得授权位置信息哦",
			   	'Description'=>'summary text',
			   	'PicUrl'=>'http://www.weifashi.cn/ITbiji/0368b955.jpg',
			   	'Url'=>'http://www.weifashi.cn/bulid/uni-app/unpackage/dist/build/h5/'
			]
		)
    ),
    // +----------------------------------------------------------------------
    // | 微信小程序配置
    // +----------------------------------------------------------------------
    'app'=>array(
        //'appid' => 'wx6d821d662c6eeda5',  
        //'appsecret' => '022b17292a23be9e113b6060dd9def73'
    )
];
